/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package test_system.user_logic;

/**
 *
 * @author root
 */
public class Student extends User{
    private String group;
        
    
    public Student(String login, String password, String name, String group){
        this.login = login;
        this.password = password;
        this.group = group;
        this.name = name;
    }
    
    
    public String getGroup() {
        return group;
    }

    @Override
    public String toString() {
        return "login: " + getLogin() + ", name: " + getName() + ", group: " + getGroup();
    }
}
